package com.zero.qth.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.zero.common.annotation.excel.Excel;
import com.zero.common.core.domain.base.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;



/**
 * 司机余额明细对象 driver_balance_detail
 * 
 * @author cai-xu-kun
 * @date 2025-09-17
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class DriverBalanceDetail extends BaseEntity {
    /** ID */
    private Long id;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Long driverId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private String orderId;

    /** 充值ID */
    @Excel(name = "充值ID")
    private String rechargeId;

    /** 提现ID */
    @Excel(name = "提现ID")
    private Long withdrawId;

    /** 下线司机ID */
    @Excel(name = "下线司机ID")
    private Long childId;

    /** 金额 */
    @Excel(name = "金额")
    private Long amount;

    /** 收支类型（0充值收入 1代驾收入 2提款支出 3退款支出） */
    @Excel(name = "收支类型", readConverterExp = "0=充值收入,1=代驾收入,2=提款支出,3=退款支出")
    private Integer balanceType;

    /** 余额 */
    @Excel(name = "余额")
    private Long remainingBalance;

    /** 创建时间 */
    private Date createTime;


}
